package com.yocard.yxyd.base;

/**
 * Created on 2018/9/25.
 */
public interface Constants {
    String KEY_TOKEN = "access_token";
    String KEY_USER_INFO = "user_info";
    String KEY_CITY_CODE = "city_code";
    String KEY_CITY_NAME = "city_name";
    String KEY_UPDATE = "app_update";
    String KEY_LATITUDE = "app_latitude";
    String KEY_LONGITUDE = "app_longitude";
    String SHOW_SHARE_GIFT_GUID = "share_guid"; //分享有礼guid展示
    String REGISTER_ID = "register_id"; //推送register_id
    String USER_PHONE = "user_phone"; //用户电话

    //推送设置配置
    String PUSH_SUBSCRIBE = "push_subscribe"; //推送订阅
    String PUSH_TIME = "push_time"; //推送时间
    String LOAN_AMOUNT = "loan_amount"; //贷款金额
    String LOAN_PERIOD = "loan_period"; //贷款期限
    String SOCIAL_INSURACNCES = "social_Insurances"; //社保情况
    String OTHER_MATERIAL = "other_material"; //其他资料
    String PUSH_SETTING = "push_setting"; //推送设置，json字符串

    int PAGE_SIZE = 20;

    int STATUS_SUCCESS_1 = 200;
    int STATUS_SUCCESS_2 = 201;
    int STATUS_SUCCESS_3 = 204;
    int STATUS_SUCCESS_4 = 203;//状态错误，主要用于假订单数据的处理
    int STATUS_LOGIN_MUTI = 401;//token过期，除登录接口外需要刷新token

    String CAREE_SHANGBAN = "shangban";
    String CAREE_ZIYOU = "ziyou";
    String CAREE_QIYE = "qiye";
    String CAREE_GETI = "geti";

    String LOAN_TYPE_XINYONG = "xinyong";
    String LOAN_TYPE_DIYA = "diya";
    String LOAN_TYPE_CHEZHU = "chezhu";
    String LOAN_TYPE_ZHUANGXIU = "zhuangxiu";
    String LOAN_TYPE_BANK = "bank";

    String YEAR_BEFORE_ONE = "before_one";
    String YEAR_ONE_AND_THREE = "one_and_three";
    String YEAR_AFTER_THREE = "after_three";
    String YEAR_ONE_AND_FIVE = "one_and_five";
    String YEAR_AFTER_FIVE = "after_five";

    String MONTH_ONE_TO_THREE = "0";
    String MONTH_THREE_TO_SIX = "1";
    String MONTH_SIX_TO_TWELVE = "2";
    String MONTH_TWELVE_TO_EIGHTEEN = "3";
    String MONTH_EIGHTEEN_TO_TWENTY_FOUR = "4";
    String MONTH_TWENTY_FOURT_TO_THIRTY_SIX = "5";

    String RECEIVED_CARD = "card";
    String RECEIVED_CASH = "cash";

    String PROFILE_GOOD = "good";
    String PROFILE_NONE = "none";
    String PROFILE_BEFORE3 = "before_3_time";
    String PROFILE_AFTER3 = "after_3_time";

    String AUTH_UNAPPROVED = "unapproved";
    String AUTH_APPROVING = "approving";
    String AUTH_APPROVED = "approved";
    String AUTH_FAILURE = "failure";

    String CSM_STATUS_NOHANDLE = "nohandle";
    String CSM_STATUS_NONEED = "noneed";
    String CSM_STATUS_ZIZHICHA = "zizhicha";
    String CSM_STATUS_WURENJIETING = "wurenjieting";
    String CSM_STATUS_ZHONGDIANGJ = "zhongdiangj";
    String CSM_STATUS_LIANXIZHONG = "lianxizhong";
    String CSM_STATUS_FANGKUAN= "fangkuan";
    String CSM_STATUS_QIANYUE = "qianyue";
    String CSM_STATUS_STOP = "stop";

    int CODE_REFRESH = 0x11;

    //默认的照片大小2M
    int DEFAULT_PIC_SIZE = 2 * 1024 * 1024;

    //用户协议h5地址
    String PROTOCAL_USER= "http://test.youdan.h5.yoquery.com/#/agreement/user";

    //订单分享h5
    String ORDER_SHARE= "http://192.168.2.82:8080/#/listShare";
}
